package com.dnjn.happiness.biz.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dnjn.happiness.biz.domain.CommunicateTags;
import com.dnjn.happiness.biz.mapper.CommunicateTagsMapper;
import com.dnjn.happiness.biz.service.ICommunicateTagsService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 沟通维度Service业务层处理
 *
 * @author happiness
 * @date 2024-04-01
 */
@Service
public class CommunicateTagsServiceImpl extends ServiceImpl<CommunicateTagsMapper, CommunicateTags> implements ICommunicateTagsService {

    @Override
    public List<CommunicateTags> listAll() {
        return baseMapper.selectList(Wrappers.lambdaQuery(CommunicateTags.class).eq(CommunicateTags::getDeleted, "0"));
    }
}
